package cn.iocoder.yudao.module.project.controller.admin.order.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产订单信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPageReqVO extends PageParam {
    @Schema(description = "订单编号", example = "23488")
    private String id;

    @Schema(description = "订单日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime[] orderDate;
    private String[] orderDateReq;

    @Schema(description = "订单查询开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate startDate;

    @Schema(description = "订单查询结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate endDate;

    @Schema(description = "订单总数量")
    private Long totalNum;

    @Schema(description = "到货点")
    private String arrivalPoint;

    @Schema(description = "出货方式")
    private String deliveryMode;

    @Schema(description = "厂长")
    private String manager;

    @Schema(description = "开发业务", example = "李四")
    private String businessName;

    @Schema(description = "业务")
    private String operator;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "订单状态", example = "2")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "龙亿编号")
    private String code;

    @Schema(description = "出货日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime[] shippingDate;

    @Schema(description = "客户名称")
    private String customerName;


}